package top.marken.onlineclass.service;

import top.marken.onlineclass.model.entity.User;
import top.marken.onlineclass.model.request.LoginRequest;

import java.util.Map;

public interface UserService {
    User findByPhone(String phone);
    int addOne(Map<String, String> userInfo);
    String login(LoginRequest loginRequest);
    User findById(int userId);
}
